/// 
/// @ProjectName:    flutter_cpp_sdk
/// @Package:        sdk
/// @ClassName:      ClientApp
/// @Description:     描述 
/// @Author:         wujehy
/// @Time:     21-2-17 下午7:43 
/// 

import "Base.dart";
export 'base_types.dart';


final nativeRegisterListernerDartPort =
nativeLib.lookup<NativeFunction<Void_Function_Int64_func>>("RegisterListernerDartPort").asFunction<Void_Function_Int64_Function>();

final nativeRegisterPostCObject = nativeLib.lookupFunction<
    Void Function(Pointer<NativeFunction<Int8 Function(Int64, Pointer<Dart_CObject>)>> functionPointer),
    void Function(Pointer<NativeFunction<Int8 Function(Int64, Pointer<Dart_CObject>)>> functionPointer)>('RegisterDart_PostCObject');



// NOTE wujehy 这里进行对c 的 符号表进行绑定
final nativeClientApp_init =
nativeLib.lookup<NativeFunction<Void_Function_Int64_Int32_func>>("ClientApp_init").asFunction<Void_Function_Int64_Int_Function>();

final nativeClientApp_deinit =
nativeLib.lookup<NativeFunction<Void_Function_Int64_func>>("ClientApp_deinit").asFunction<Void_Function_Int64_Function>();

final nativeClientApp_getStatus =
nativeLib.lookup<NativeFunction<Void_Function_Int64_func>>("ClientApp_getStatus").asFunction<Void_Function_Int64_Function>();

final nativeClientApp_setBaseKey =
nativeLib.lookup<NativeFunction<Void_Function_Int64_String_String_Int32_func>>("ClientApp_setBaseKey").asFunction<Void_Function_Int64_String_String_Int_Function>();

final nativeClientApp_delBaseKey =
nativeLib.lookup<NativeFunction<Void_Function_Int64_String_func>>("ClientApp_delBaseKey").asFunction<Void_Function_Int64_String_Function>();

final nativeClientApp_getBaseKey =
nativeLib.lookup<NativeFunction<Void_Function_Int64_String_func>>("ClientApp_getBaseKey").asFunction<Void_Function_Int64_String_Function>();



